package com.neuedu.user.mapper;

import com.neuedu.user.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper //表示当前接口是mybatis框架的代理接口类
public interface UserMapper {

	public List<User> selectAll(User u);

	public List<User> selectById(User u);
	public User selectByName(User u);
	public int add(User u);
	public int update(User u);
	public int delete(User u);

	public User login(User u);

}
